import { createApp } from 'vue'
import App from './App.vue'
import 'normalize.css/normalize.css'
import router from './router'
///pinia
import { createPinia } from 'pinia'
const pinia = createPinia()
// 插件 
import echarts from "./utils/echarts"
import { ElMessage } from 'element-plus'
// css
import 'element-plus/dist/index.css'
import '@/assets/css/common.css'
const app = createApp(App)
app.config.globalProperties.$echarts = echarts;
app.config.globalProperties.$message = ElMessage
app.use(router).use(pinia).mount('#app')
